package com.cc.entity;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
    @Serial
    private static final long serialVersionUID = 5206383930534542680L;
    // 主键
    private String id;
    // 姓名
    private String name;
    // 年龄
    private int age;
    // 生日
    private Date bir;
    // 身份证号
    private String cardId;
    private Card card;

    public Card getCard() {
        return card;
    }

    public void setCard(Card card) {
        this.card = card;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getBir() {
        return bir;
    }

    public void setBir(Date bir) {
        this.bir = bir;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

}
